package com.xyy.saas.payment.callback.core.handler;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @author wangtianqi
 */
public interface CastRequestHandler {

    /**
     *  渠道
     * @return
     */
    String getChannel();

    /**
     *
     * 对象转换
     * @param method
     * @param request
     * @return Object
     * @throws Exception
     */

    Object castRequestHandler(String method, Map<String, String> request, HttpServletRequest requestMsg) throws Exception;
}
